package com.chinaisafe.user.entity;

import java.io.Serial;
import com.chinaisafe.user.vo.request.SysAppReqVO;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chinaisafe.base.mybatisplus.entity.BaseEntity;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * SysApp
 * Description：应用实体类
 *
 * @author tby
 * @date  2024-07-11 17:32:41
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_app")
@Schema(name = "SysApp", description = "应用")
public class SysApp extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "名称")
    @TableField("`name`")
    private String name;

    @Schema(description = "应用端")
    @TableField("client_type")
    private String clientType;

    @Schema(description = "应用分类")
    @TableField("`type`")
    private String type;

    @Schema(description = "应用版本")
    @TableField("app_version")
    private String appVersion;

    @Schema(description = "应用logo")
    @TableField("logo")
    private String logo;

    @Schema(description = "应用简介")
    @TableField("summary")
    private String summary;

    @Schema(description = "排序")
    @TableField("seq")
    private Integer seq;

    @Schema(description = "是否启用")
    @TableField("`enable`")
    private Boolean enable;
}
